package com.match.competition_apply.client;

import com.match.commonutils.Result;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * @author 芊薰
 */
@Component
public class CourseClientImpl implements CourseClient{

    @Override
    public Result getCourseType() {
        return Result.error().message("课程类别未查询成功");
    }

    @Override
    public Result getAllTeacherByRole() {
        return Result.error().message("竞赛组织员未查询成功");
    }

    @Override
    public Result getAllTeacherDepartment() {
        return Result.error().message("教师部门未查询成功");
    }

    @Override
    public Result getTeaByNum(String number) {
        return Result.error().message("教师信息查询失败");
    }

    @Override
    public Result getAllTeacherUseAdviser() {
        return Result.error().message("获得所有教师信息失败");
    }

    @Override
    public Result getAllEntryStudent() {
        return Result.error().message("获得所有学生信息失败");
    }

    @Override
    public Result assignRoleToStudent(Map<String, Object> map) {
        return Result.error().message("分配学生角色失败");
    }

    @Override
    public Result findStuByNum(String number) {
        return Result.error().message("根据学生学号查询学生信息失败!");
    }

    @Override
    public Result updateStudentCredit(String groutId,String affirmCredit) {
        return Result.error().message("学分认证更新失败服务调用异常");
    }
}
